package top.yongyan0624.common.lang;

import lombok.Data;

/**
 * @author Yongyan
 * @description: TODO
 * @date 2021/5/10
 **/

@Data
public class CodeMsg {
    private Integer code;
    private String msg;

    public CodeMsg(String msg) {
        this.code = 400;
        this.msg = msg;
    }

    public CodeMsg(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
